package com.woan.api.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * SysRole entity. @author MyEclipse Persistence Tools
 */

public class SysRole implements java.io.Serializable {

	// Fields

	private String rid;
	private String roleName;
	private String roleDesc;
	private Integer status;
	private Timestamp startTime;
	private Timestamp endTime;
	private String isdel;
	private Integer livecount=0;
	private Integer usercount=0;
	private Set sysAdmininfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public SysRole() {
	}

	/** minimal constructor */
	public SysRole(String rid, Integer status) {
		this.rid = rid;
		this.status = status;
	}

	

	public SysRole(String rid, String roleName, String roleDesc,
			Integer status, Timestamp startTime, Timestamp endTime,
			String isdel, Integer livecount, Integer usercount, Set sysAdmininfos) {
		super();
		this.rid = rid;
		this.roleName = roleName;
		this.roleDesc = roleDesc;
		this.status = status;
		this.startTime = startTime;
		this.endTime = endTime;
		this.isdel = isdel;
		this.livecount = livecount;
		this.usercount = usercount;
		this.sysAdmininfos = sysAdmininfos;
	}

	// Property accessors

	public String getRid() {
		return this.rid;
	}

	public void setRid(String rid) {
		this.rid = rid;
	}

	public String getRoleName() {
		return this.roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getRoleDesc() {
		return this.roleDesc;
	}

	public void setRoleDesc(String roleDesc) {
		this.roleDesc = roleDesc;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Timestamp getStartTime() {
		return this.startTime;
	}

	public void setStartTime(Timestamp startTime) {
		this.startTime = startTime;
	}

	public Timestamp getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Timestamp endTime) {
		this.endTime = endTime;
	}

	public String getIsdel() {
		return this.isdel;
	}

	public void setIsdel(String isdel) {
		this.isdel = isdel;
	}

	public Set getSysAdmininfos() {
		return this.sysAdmininfos;
	}

	public void setSysAdmininfos(Set sysAdmininfos) {
		this.sysAdmininfos = sysAdmininfos;
	}

	public Integer getLivecount() {
		return livecount;
	}

	public void setLivecount(Integer livecount) {
		this.livecount = livecount;
	}

	public Integer getUsercount() {
		return usercount;
	}

	public void setUsercount(Integer usercount) {
		this.usercount = usercount;
	}

}